How to install extended php instances by using pecl and how to install pecl instances
1. Install pecl and create a shortcut key (skip this step if php is installed)
# Cd/usr/local/php/bin // you can check whether it has been with pecl # wget
When I checked PHP manual, I found that there is one memcache and two memcached PECL libraries in PHP manual, but I don't know the difference between them.
Today, I am not very busy. I searched the internet and found that it was two different PECL
Before trying to use the memcache, later found that memcached support Setmulti method, ready to turn to use the memcached library.
(tried, in fact, memcache from the support of multi-valued set, but not on the document, see Changelog seems to be 3.0
Memcache and memcached on php are two pecl libraries. I tried to use memcache before. later I found that memcached supports the setMulti method and is ready to switch to the memcached Library. (After trying it out, in fact, memcache supports
Previous attempts to use Memcache, later found memcached support Setmulti method, ready to switch to the memcached library.
(try, in fact, memcache from support for multivalued set, but not on the document, see Changelog seems to be 3.0 starting
I tried to use memcache before. Later I found that memcached supports the setMulti method and is ready to switch to the memcached library.
(I tried it. In fact, memcache supports multi-value set, but it does not exist in the document. It seems that
At the beginning, I was wondering why there were two libraries, and there were official documentation support in php.net. I tried to use memcache before. later I found that memcached supports the setMulti method and is ready to switch to the
The following small series for you to share a PHP through the pecl way to install the extension of the example, with a good reference value, I hope to be helpful to everyone. Let's take a look at it with a little knitting.
1, install the PECL and
Introduction to PECL 1. PECL for PHP extension installation
PECL: The PHP Extension Community Library is The Extension Library of php.
For PHP extension download and installation.
When installing php, pecl is installed by default in the
The following small series for you to share a PHP through the pecl way to install the extension of the example, with a good reference and learn the value of PHP, I hope to help you. The small friends who are interested in PHP come along and look at
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.